﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mindfor.Web.Models
{
	/// <summary>
	/// Data to pass to LinkButton partial view that is the template for the link with some decoration, icon and text.
	/// </summary>
	public class LinkButtonData
	{
		/// <summary>
		/// Gets or sets text.
		/// </summary>
		public string Text { get; set; }

		/// <summary>
		/// Gets or sets icon name which is filename with extension, icon must lay in the /Content/Icons folder.
		/// </summary>
		public string IconName { get; set; }

		/// <summary>
		/// Gets or sets url link forwards to.
		/// </summary>
		public string Url { get; set; }

		/// <summary>
		/// Gets or sets help text for the button.
		/// </summary>
		public string ContextHelpText { get; set; }

		/// <summary>
		/// Gets or sets help title for the button.
		/// </summary>
		public string ContextHelpTitle { get; set; }

		/// <summary>
		/// Gets or sets additional html attributes for the link.
		/// </summary>
		public IDictionary<string, object> AdditionalHtmlAttributes { get; set; }
	}
}
